Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

php: add a dev ouptut & strip all the binaries #14822

Closed
wants to merge 2 commits into from

Conversation

layus
Copy link
Member

@layus layus commented Apr 19, 2016

These commits introduce stripping to all the binaries, and create a dev output to separate php's generated include files which contain references to build inputs.

Also update nixos to pick the right output.

@mention-bot
Copy link

By analyzing the blame information on this pull request, we identified @edolstra, @dezgeg and @globin to be potential reviewers

This moves files depending on build inputs to a separate output.
@layus layus changed the title php: remove reference to build dependencies php: add a dev ouptut & strip all the binaries Apr 19, 2016
@@ -37,8 +37,8 @@ in {

phpPackage = mkOption {
type = types.package;
default = pkgs.php;
defaultText = "pkgs.php";
default = pkgs.php.out;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Instead of making the user to set e.g. phpPackage = php56.out;, keep this as it is, but instead use ${phpPackage.out} everywhere where phpPackage was used by the module.

@dezgeg
Copy link
Contributor

dezgeg commented Apr 19, 2016

Other than the comment I made, looks good to me.

@dezgeg dezgeg added 0.kind: enhancement Add something new 6.topic: closure size The final size of a derivation, including its dependencies labels Apr 27, 2016
@layus
Copy link
Member Author

layus commented Jul 20, 2016

Closing while we are working on #15339

@layus layus closed this Jul 20, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0.kind: enhancement Add something new 6.topic: closure size The final size of a derivation, including its dependencies
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants